package com.etc.doctor.service.impl;

import com.etc.doctor.mapper.DoctorDataMapper;
import com.etc.doctor.service.DoctorDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DoctorDataServiceImpl implements DoctorDataService {

    @Autowired
    private DoctorDataMapper doctorDataMapper;

    @Override
    public int queryOutpatientNumByDocId(String docId) {
        return doctorDataMapper.queryOutpatientNumByDocId(docId);
    }

    @Override
    public int queryInHospitalNumByDocId(String docId) {
        return doctorDataMapper.queryInHospitalNumByDocId(docId);
    }

    @Override
    public int queryOperationNumByDocId(String docId) {
        return doctorDataMapper.queryOperationNumByDocId(docId);
    }

    @Override
    public int queryCheckNumByDocId(String docId) {
        return doctorDataMapper.queryCheckNumByDocId(docId);
    }

}
